package com.ssm.modules.service;

import com.ssm.modules.entity.Problem;

import java.util.List;

/**
 * @email: dong980514280@gmail.com
 * @author: HGL
 * @date: 2018/12/26
 * @time: 11:03
 */

public interface IProblemService {

    List<Problem> findByStuId(int stuId, int page, int pageSize);

    int findByStuIdCount(int stuId);

    List<Problem> findByTeaId(int teaId, int page, int pageSize);

    int findByTeaIdCount(int teaId);


    List<Problem> selectAll();

    int addProblem(Problem problem);

    int updateProblem(Problem problem);

    int deleteProblem(int id);

    int updateReplay(int id, String reply);
}
